/***********************************************************************
 * Module:  SaisirMemento.java
 * Author:  Dian
 * Purpose: Defines the Class SaisirMemento
 ***********************************************************************/

package memento;

import originator.Originator;
import originator.SaisirOriginator;

public class SaisirMemento implements Memento {

	private Originator command;
	private String etat;

	public SaisirMemento(SaisirOriginator saisirOriginator, String etat) {
		this.command = saisirOriginator;
		this.etat = etat;
	}

	@Override
	public Originator getCommand() {
		return command;
	}

	public String getEtat() {
		return etat;
	}

	public void setEtat(String etat) {
		this.etat = etat;
	}
}